package binary;

/**
 * 说明:
 *
 * @author: luohaowei
 * @date:2023/3/6
 * 二进制
 *
 **/
public class BinaryDemo {
    public static void main(String[] args) {
       int n=45;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(n);
        n++;
        System.out.println(Integer.toBinaryString(n));
        System.out.println(n);
    }
}
